import { createStore } from 'vuex'

const defaultState = {
    date: 0
}
const store = createStore({
    state () {
        return {
            date: 0
        }
    },
    mutations: {
        change (state: typeof defaultState,val) {
            state.date = val
        }
    }
})
export default store;
